package com.jwsoft.manager.core.gateway.controller.common;

import com.bifang.engine.assistant.core.domain.AppResponse;
import com.bifang.engine.protect.core.annotation.NoSignCrypto;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/common/check")
@Tag(name = "通用校验接口", description = "通用校验接口")
public class CommonCheckConrtoller {
    @GetMapping(value = "/health")
    @Operation(summary = "健康监控接口",description = "健康监控接口")
    @NoSignCrypto
    public AppResponse<Boolean> checkHealth(){
        return AppResponse.successData(true);
    }
}
